
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-iconfontkai"></i>
                    <div class="name">iconfont-kai</div>
                    <div class="fontclass">.icon-iconfontkai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontguan"></i>
                    <div class="name">iconfont-guan</div>
                    <div class="fontclass">.icon-iconfontguan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qunfengweixin"></i>
                    <div class="name">群蜂微信</div>
                    <div class="fontclass">.icon-qunfengweixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qunfengpengyouquan"></i>
                    <div class="name">群蜂朋友圈</div>
                    <div class="fontclass">.icon-qunfengpengyouquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qunfengqq"></i>
                    <div class="name">群蜂QQ</div>
                    <div class="fontclass">.icon-qunfengqq</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qunfengqqkongjian"></i>
                    <div class="name">群蜂QQ空间</div>
                    <div class="fontclass">.icon-qunfengqqkongjian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qunfengxinlangweibo"></i>
                    <div class="name">群蜂新浪微博</div>
                    <div class="fontclass">.icon-qunfengxinlangweibo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfonttoggleoff"></i>
                    <div class="name">iconfont-toggleoff</div>
                    <div class="fontclass">.icon-iconfonttoggleoff</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfonttoggleon"></i>
                    <div class="name">iconfont-toggleon</div>
                    <div class="fontclass">.icon-iconfonttoggleon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontzhifeiji"></i>
                    <div class="name">iconfont-zhifeiji</div>
                    <div class="fontclass">.icon-iconfontzhifeiji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-heart01"></i>
                    <div class="name">heart_01</div>
                    <div class="fontclass">.icon-heart01</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-heart02"></i>
                    <div class="name">heart_02</div>
                    <div class="fontclass">.icon-heart02</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontsousuo1"></i>
                    <div class="name">iconfont-sousuo1</div>
                    <div class="fontclass">.icon-iconfontsousuo1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-centericsetting"></i>
                    <div class="name">center_ic_setting</div>
                    <div class="fontclass">.icon-centericsetting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bell"></i>
                    <div class="name">bell</div>
                    <div class="fontclass">.icon-bell</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bell2"></i>
                    <div class="name">bell2</div>
                    <div class="fontclass">.icon-bell2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi1"></i>
                    <div class="name">ZS设置1</div>
                    <div class="fontclass">.icon-shezhi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi2"></i>
                    <div class="name">ZS设置2</div>
                    <div class="fontclass">.icon-shezhi2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-i-right"></i>
                    <div class="name">right</div>
                    <div class="fontclass">.icon-i-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-i-sian"></i>
                    <div class="name">sian</div>
                    <div class="fontclass">.icon-i-sian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-i-wechat"></i>
                    <div class="name">wechat</div>
                    <div class="fontclass">.icon-i-wechat</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-i-w-qq"></i>
                    <div class="name">white-qq</div>
                    <div class="fontclass">.icon-i-w-qq</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-i-w-message"></i>
                    <div class="name">message2</div>
                    <div class="fontclass">.icon-i-w-message</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjia1"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-tianjia1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjiaicon"></i>
                    <div class="name">添加 icon</div>
                    <div class="fontclass">.icon-tianjiaicon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checknormal"></i>
                    <div class="name">check_normal</div>
                    <div class="fontclass">.icon-checknormal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checkselected"></i>
                    <div class="name">check_selected</div>
                    <div class="fontclass">.icon-checkselected</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huanyipi"></i>
                    <div class="name">换一批</div>
                    <div class="fontclass">.icon-huanyipi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-picture"></i>
                    <div class="name">picture</div>
                    <div class="fontclass">.icon-picture</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfont9"></i>
                    <div class="name">iconfont-9</div>
                    <div class="fontclass">.icon-iconfont9</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-02"></i>
                    <div class="name">书签</div>
                    <div class="fontclass">.icon-02</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-33duoxuanxuanzhong"></i>
                    <div class="name">33多选选中</div>
                    <div class="fontclass">.icon-33duoxuanxuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-32duoxuanweixuanzhong"></i>
                    <div class="name">32多选未选中</div>
                    <div class="fontclass">.icon-32duoxuanweixuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-35danxuanweixuanzhong"></i>
                    <div class="name">35单选未选中</div>
                    <div class="fontclass">.icon-35danxuanweixuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-34danxuanxuanzhong"></i>
                    <div class="name">34单选选中</div>
                    <div class="fontclass">.icon-34danxuanxuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjia2"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-tianjia2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-faxianshi"></i>
                    <div class="name">发现实</div>
                    <div class="fontclass">.icon-faxianshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-home"></i>
                    <div class="name">home</div>
                    <div class="fontclass">.icon-home</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-homeH"></i>
                    <div class="name">homeH</div>
                    <div class="fontclass">.icon-homeH</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjia3"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-tianjia3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjia"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-tianjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liuyan"></i>
                    <div class="name">留言1</div>
                    <div class="fontclass">.icon-liuyan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liuyan-fill"></i>
                    <div class="name">留言2</div>
                    <div class="fontclass">.icon-liuyan-fill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjia5"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-tianjia5</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-biaoqian"></i>
                    <div class="name">标签2</div>
                    <div class="fontclass">.icon-biaoqian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-faxian"></i>
                    <div class="name">发现</div>
                    <div class="fontclass">.icon-faxian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-comment"></i>
                    <div class="name">comment</div>
                    <div class="fontclass">.icon-comment</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wode2"></i>
                    <div class="name">我的</div>
                    <div class="fontclass">.icon-wode2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wode_xuanzhong"></i>
                    <div class="name">我的_选中</div>
                    <div class="fontclass">.icon-wode_xuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cha"></i>
                    <div class="name">叉</div>
                    <div class="fontclass">.icon-cha</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jichanggaotiebaochedingdan"></i>
                    <div class="name">机场高铁包车订单</div>
                    <div class="fontclass">.icon-jichanggaotiebaochedingdan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-biaoqian1"></i>
                    <div class="name">标签</div>
                    <div class="fontclass">.icon-biaoqian1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-fanhui</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
